﻿using CommonBase;
using CustomControls.PoptipCtr;
using MyAppProjectControl.Views;
using Prism.Ioc;
using Prism.Modularity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyAppProjectControl
{
    public class MyAppProjectControlModule : IModule
    {
        public void OnInitialized(IContainerProvider containerProvider)
        {

        }

        public void RegisterTypes(IContainerRegistry containerRegistry)
        {
            containerRegistry.RegisterForNavigation<IndexPage>(SystemResource.Nav_IndexPageView);
            containerRegistry.RegisterForNavigation<LogsControlView>(SystemResource.Nav_LogsControlView);
            LayDialogControl.RegisterDialog<DialogByUplodFile>(SystemResource.Nav_DialogByUplodFile);
            LayDialogControl.RegisterDialog<DialogLodingView>(SystemResource.Nav_DialogLodingView);
            LayDialogControl.RegisterDialog<DialogByTimeSelect>(SystemResource.Nav_DialogByTimeSelect);
            LayDialogControl.RegisterDialog<DialogBySetNewServerAddress>(SystemResource.Nav_DialogBySetNewServerAddress);
            //containerRegistry.RegisterForNavigation<FileSelectPage>(SystemResourceExten.Nav_FileSelectPageView);
        }
    }
}
